<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Department extends Model
{
    protected $fillable = [
    	'store_id',
	    'name'
    ];
    
    public function staff()
    {
    	return $this->hasMany(Staff::class);
    }
    
    public function store()
    {
    	return $this->belongsTo(Store::class);
    }
}
